<template>
  <a-config-provider :locale="locale">
    <div id="app" class="app app1">
      <router-view class="scrollbar"/>
    </div>
  </a-config-provider>
</template>

<script>
  import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
  import { AppDeviceEnquire } from '@/utils/mixin'

  export default {
    mixins: [AppDeviceEnquire],
    data() {
      return {
        locale: zhCN
      }
    },
    mounted() {

    }
  }
</script>
<style>
  .app {
    overflow: auto;
    border: none;
  }

  .scrollbar {
    margin: 0 auto;
  }

  .app1::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  }

  .app1::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 6px;
    background: #aaa;
  }

  .app1::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 8px;
    background: #FFFFFF;
  }

  .drawer-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #e8e8e8;
    padding: 10px 16px;
    left: 0;
    background: #fff;
    border-radius: 0 0 4px 4px;
  }

  .drawer-footer .left {
    float: left;
    text-align: left;
  }

  .drawer-footer .right {
    float: right;
    text-align: right;
  }

  .ant-form-horizontal .ant-form-item > .ant-form-item-label {
    width: 110px !important;
    flex: unset !important;
    max-width: unset !important;
  }

  .ant-form-horizontal .ant-form-item > .ant-form-item-label > label {
    display: inline-block !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    width: 100% !important;
  }

  .ant-col-12 > .ant-form-item > .ant-form-item-control {
    width: 100% !important;
    max-width: 100% !important;
  }
</style>
